package com.bone;

import com.http.HttpRequestV1;

import java.net.Socket;

public class HttpRequestImpl extends HttpRequestV1 {
    public HttpRequestImpl(Socket socket) throws Exception {
        this.setSocket(socket);
        this.setIs(socket.getInputStream());
        this.parseRequestLine();
        this.parseRequestUrl();
        this.parseHeader();
        this.parseContent();
    }
}
